import request from '@/utils/request.js'

// 消息接口
// get
// index.php/api/Information/systemList
export function systemList() {
  return request({
    url: 'index.php/api/Information/systemList',
    methods: 'get'
  })
}

// 消息公告
// get
// index.php/api/information/newlist
export function newlist(type=0) {
  const data = {
    type
  };
  return request({
    url: 'index.php/api/information/newlist',
    params:data,
    methods: 'get'
  })
}
